package ar.com.quickmart.classes;

import java.io.Serializable;
import java.util.List;

public class Promo implements Purchasable, Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private long id;
	private String name;
	private List<String> products; // TODO Ver si es necesario !!
	private float price;
	private int count;
	private Supermarket supermarket;
	
	public Promo() {
	}
	
	public Promo(long id, String name, List<String> products, float price,
			int count, Supermarket supermarket) {
		super();
		this.id = id;
		this.name = name;
		this.products = products;
		this.price = price;
		this.count = count;
		this.supermarket = supermarket;
	}



	@Override
	public long getId() {
		return id;
	}

	@Override
	public void setId(long id) {
		this.id = id;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public float getPrice() {
		return this.price;
	}

	@Override
	public void setPrice(float price) {
		this.price = price;
	}

	@Override
	public int getCount() {
		return this.count;
	}

	@Override
	public void setCount(int count) {
		this.count = count;
	}

	public Supermarket getSupermarket() {
		return this.supermarket;
	}
	
	public void setSupermarket(Supermarket supermarket) {
		this.supermarket = supermarket;
	}
	
}
